<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
		<html>
		<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
		<title>LoudmouthMessage</title>
		<META HTTP-EQUIV="EXPIRES" CONTENT=0>
		<link rel="stylesheet" href="../../../../docs.css">
		</head>
		<body>
		
<br>
<h1>Io Reference</h1>
<br><br><br>
<br><br><br>
<a class='column' href='../../index.html'>Networking</a>
&nbsp;&nbsp;<font color=#ccc>/</font>&nbsp;&nbsp;
<a class='column' href='../index.html'>Loudmouth</a>
&nbsp;&nbsp;<font color=#ccc>/</font>&nbsp;&nbsp;
<b>LoudmouthMessage</b>
<br><br><br>
<br><br><br>
<table border=0 cellspacing=0 style="margin-left:8em; width:40em; line-height:1.2em;">
<tr>
<td align=right></td>
<td></td>
<td>LoudmouthMessage provides [[SGML]] interface with few convience methods for manipulation of XMPP messages.
</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
<tr>
<td align=right>
</td>
<td></td>
<td>
<hr align=left color=#ddd height=1>
<br><br>
<a name="LoudmouthMessage-asString"></a><b>
asString
</b>
<p>
<div class=slotDescription>
Converts XML to Sequence.
</div>
<a name="LoudmouthMessage-body"></a><b>
body
</b>
<p>
<div class=slotDescription>
Returns value message's body node. If both XHTML and plain versions are available, XHTML version will be returned.
</div>
<a name="LoudmouthMessage-from"></a><b>
from
</b>
<p>
<div class=slotDescription>
Returns sender's JID.
</div>
<a name="LoudmouthMessage-plainBody"></a><b>
plainBody
</b>
<p>
<div class=slotDescription>
Returns value of message's body node with XHTML markup.
</div>
<a name="LoudmouthMessage-sendVia"></a><b>
sendVia(loudmouthConnection)
</b>
<p>
<div class=slotDescription>
Converts message to sequence and sends it via the provided [[Loudmouth]] object. It updates <code>from</code> property and returns <code>true</code> if message is sent.
</div>
<a name="LoudmouthMessage-setFrom"></a><b>
setFrom(jid)
</b>
<p>
<div class=slotDescription>
Sets sender's JID. Returns <code>self</code>.
</div>
<a name="LoudmouthMessage-setTo"></a><b>
setTo(jid)
</b>
<p>
<div class=slotDescription>
Sets message receiver to defined JID. JID can be both an [[Sequence]] or a [[JID]] object. Returns <code>self</code>.
</div>
<a name="LoudmouthMessage-setXmppType"></a><b>
setXmppType(type)
</b>
<p>
<div class=slotDescription>
Sets value of <code>type</code> attribute.
</div>
<a name="LoudmouthMessage-to"></a><b>
to
</b>
<p>
<div class=slotDescription>
Returns [[JID]] of receiver.
</div>
<a name="LoudmouthMessage-with"></a><b>
with(source)
</b>
<p>
<div class=slotDescription>
Creates new [[LoudmouthMessage]] based on <code>source</code>, which should be valid XML ([[Sequence]]).
</div>
<a name="LoudmouthMessage-xmppType"></a><b>
xmppType
</b>
<p>
<div class=slotDescription>
Returns value of <code>type</code> attribute of message node.
</div>
</td>
</tr>
</table>
<br><br><br><br><br>
</body>
</html>
